import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/components/index'
import Zhiqi from '@/components/zhiqi'
import Register from '@/components/register'
import RegisterA from '@/components/registerA'
import RegisterB from '@/components/registerB'

Vue.use(Router)

export default new Router({
    routes: [
        {
            path: '/',
            name: 'index',
            component: Index,
            meta: {
                title: '银土收银台'
            }
        },
        {
            path: '/zhiqi',
            name: 'zhiqi',
            component: Zhiqi,
            meta: {
                title: '智杞电动车'
            }
        },
        {
            path: '/register',
            name: 'register',
            component: Register,
            meta: {
                title: '银土收银台'
            }
        },
        {
            path: '/registerA',
            name: 'registerA',
            component: RegisterA,
            meta: {
                title: '银土收银台'
            }
        },
        {
            path: '/registerB',
            name: 'registerB',
            component: RegisterB,
            meta: {
                title: '银土收银台'
            }
        }
    ]
})